def create_default_groups(self):
        for group in self.groups:
            group = group.replace(" ", "_").lower()
            self[group] = NamedRequirements(group)
def clear(self):
    for unused_ in range(len(self._items)):
      self.remove_item(self._items[0])