Cleanup submodules.