@classmethod
def RegisterDecoders(cls, decoders):
    """Registers decoders.

    The decoders are identified based on their lower case encoding method.

    Args:
      decoders (list[type]): decoder classes.

    Raises:
      KeyError: if decoders is already set for the corresponding
          encoding method.
    """
    for decoder in decoders:
        cls.RegisterDecoder(decoder)
