@classmethod
def from_attributes(cls, attributes, name, file_):
    """Construct from a dictionary, with some overloads available."""
    return cls.from_attributes_consume(attributes=dict(attributes), name=
        name, file_=file_)
