Update Prototype class to call closures and prototypes