deprecating PluginDepends and cleanup