Add an event.