Fixing Dependency generation for plugins.