def __new__(cls, *args, **kwds):
    """Autoincrements the value of each item added to the enum."""
    value = len(cls.__members__) + 1
    obj = object.__new__(cls)
    obj._value_ = value
    return obj
