def __eq__(self, other):
        return (isinstance(other, self.__class__) and
                other.package == self.package)
def __init__(self, choices=None, optional=False):
        super().__init__(
            minimum=0, maximum=2 ** 16 - 1, choices=choices, optional=optional
        )