Add submodule directives.