Set `main` in case the root (i.e. the module without any parent) doesn't have any sub-modules