docs: def named_module(name):
      """Returns a module given its name."""
      module = __import__(name)
      packages = name.split(".")[1:]
      m = module
      for p in packages:
          m = getattr(m, p)
      return m