start converting closures to prototypes