Event handlers now get autodetected