set PluginManager as dependency for BasePlugin