Unfortunately, this means the macro now requires a type annotation when using event handlers. Closes #6, #17.