Added event registry.