A simple event manager.