Expose event constants.
Merge pull request #328 from tobeytailor/events

Fixes sanity test regression.