Separated `event` into two methods

Closes https://github.com/PistonDevelopers/piston/issues/578