Removes unused submodules/plugins