Events are handled by PIMs. A PIM will register to handle an event by calling PluginManager::RegisterPIMEvent().