Automatically group nested submodules into recursive dispatch.