docs: def load_decorate(package):
      """Imports and decorates the package with the specified name.
      """
      # We import the decoration logic from acorn and then overwrite the sys.module
      # for this package with the decorated, original pandas package.
      from acorn.logging.decoration import set_decorating, decorating
      
      #Before we do any imports, we need to set that we are decorating so that
      #everything works as if `acorn` wasn't even here.
      origdecor = decorating
      set_decorating(True)
  
      #If we try and import the module directly, we will get stuck in a loop; at
      #some point we must invoke the built-in module loader from python. We do
      #this by removing our sys.path hook.
      import sys    
      from importlib import import_module
      apack = import_module(package)    
      from acorn.logging.decoration import decorate
      decorate(apack)
  
      sys.modules["acorn.{}".format(package)] = apack
  
      #Set the decoration back to what it was.
      from acorn.logging.decoration import set_decorating
      set_decorating(origdecor)
      
      return apack