Fix #215: on before/after events, use same evtData

In case there's a need for other hooks, please
open a new issue or reopen #215.