Pluginmanager invert function