Add PluginLoaded hook