Added some event-related classes (part 2)