add event-related class stubs