'Decorator to register an EventTransformer.  It must have a `match_key`
class attribute defined.'

@classmethod
def register(cls, transformer):

    cls.mapping[transformer.match_key] = transformer
    return transformer
