Trying to fix the PluginManager