Added some wiring to the event classes and some helper methods to create new event types, along with associated tests.