Removes submodules.