Make event handlers methods of mixin rather than closures.