misspelled prototype in events mixin