Minimize event classes. Add maps for all event types.
Make sure timestamp is added to event.