def __eq__(self, other):
        return (isinstance(other, self.__class__) and
                other.package == self.package)
def _to_python(self, value):
        if isinstance(value, Proxy):
            return value.get()
        else:
            return value