Converts a property with closure type to a method.