Add support for submodule repositories.
Add support for submodule repositories.