def set_manager(manager):
    """
    Set manager from outside of the module. This should be used only when you know
    exactly what you are doing.
    """
    global _MANAGER
    _MANAGER = manager
