@classmethod
def register_notification(cls, notification_cls):
    """Register a class as concrete notification.

        This is used only to register concrete notification or payload
        classes. Do NOT register base classes intended for inheritance only.
        """
    cls.register_if(False)(notification_cls)
    cls.notification_classes.append(notification_cls)
    return notification_cls
