in reply to Using "prototype" tricks in methods

Redesign. Forget prototypes. Shift off of the argument list and then use ref(), for example, to type-check the intended argument.