@classmethod
def _collect_operations(cls):
    """Collect all operations that were add via decorator."""
    operations = []
    for parent_class in cls.__mro__:
        operations.extend(getattr(parent_class, '_OPERATION_FUNCTIONS', []))
    return operations
