def __init__(self, default, values=None, type=None, on_change=None, doc=None):
        self.default = default
        self.values = values
        self.type = type
        self.on_change = on_change
        self.doc = doc
        self.__doc__ = self._docstring()