apply code style
Interface: EventRegistry