Ensure events is defined in InputHandler