def load_decorate(package):
    """Imports and decorates the package with the specified name.
    """
    from acorn.logging.decoration import set_decorating, decorating
    origdecor = decorating
    set_decorating(True)
    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
    from acorn.logging.decoration import set_decorating
    set_decorating(origdecor)
    return apack
