Force function onEvent() parameter type to be Event
Merge pull request #1 from znahas/master

Force function onEvent() parameter type to be Event