Convert an Application to a Contract