def update(self, *args, **kwargs):
    return self.__dict__.update(*args, **kwargs)

def __iter__(self):
    return iter(self.__dict__)

def __len__(self):
    return len(self.__dict__)

def __repr__(self):
    return repr(self.__dict__)
Neat way of popping key, value PAIR from dictionary?