Remove unwanted submodules