- Add a few constants and types required event handling