def hooks_factory(identifier, configuration, context):
    """
    Returns the initialized hooks.
    """
    manager = HookManager(identifier, configuration)
    manager.load_hooks(context)

    return manager