Replace __setitem__ by load_from_obj