def METHOD_NAME(config):
    # Redirect default to the right endpoint
    config.add_view(default_bucket, route_name="default_bucket", permission=NO_PERMISSION_REQUIRED)
    config.add_view(
        default_bucket, route_name="default_bucket_collection", permission=NO_PERMISSION_REQUIRED
    )
    config.add_route("default_bucket_collection", "/buckets/default/{subpath:.*}")
    config.add_route("default_bucket", "/buckets/default")
    # Provide helpers
    config.add_request_method(default_bucket_id, reify=True)
    # Override kinto.core default user info
    config.add_request_method(get_user_info)
    config.add_api_capability(
        "default_bucket",
        description="The default bucket is an alias for a personal"
        " bucket where collections are created implicitly.",
        url="https://kinto.readthedocs.io/en/latest/api/1.x/"
        "buckets.html#personal-bucket-default",
    )