Today, `Module::root` field is not used properly. Instead, you can check whether a module `m` is a root by using `m->importedFrom == m`.