Implement the event dispatcher service.