code: def _load_methods(package):
      
      global _methods
      _methods[package] = None
      
      from acorn.config import settings
      from acorn.logging.descriptors import _obj_getattr
      spack = settings(package)
      if spack is not None:
          if spack.has_section("analysis.methods"):
              _methods[package] = {}
              
              from importlib import import_module
              mappings = dict(spack.items("analysis.methods"))
              for fqdn, target in mappings.items():
                  rootname = target.split('.')[0]
                  root = import_module(rootname)
                  caller = _obj_getattr(root, target)
                  _methods[package][fqdn] = caller
docs: Loads the mappings from method call result to analysis.
  
      Args:
          package (str): name of the package to load for.