def METHOD_NAME(cls):
    METHOD_NAME = super().METHOD_NAME()
    METHOD_NAME.update({
        'attributes': ListField(
            optional=False,
            description="List of attribute names."
        ),
        'calculate_average': BoolField(
            optional=True, default=True, description="Allows calculation of average metric."
        )
    })
    return METHOD_NAME