@classmethod
def add_attributes(cls, **attrs):
    """Add more attributes

        The arguments should be valid Python attribute names
        associated with a type for the new attribute.

        """
    for n, t in attrs.items():
        setattr(cls, n, t)
    cls.__registry__.reregister(cls)
