Refactoring all submodules.