def __init__(self, path):
        self.path = path
        self.body_labels = collections.OrderedDict()
def clear(self):
    for unused_ in range(len(self._items)):
      self.remove_item(self._items[0])