private modules — function modules(root) Returns the set of modules visible from the given root module.