Add event for plugin hooks.