def clear(self):
        super(GroupedRequirements, self).clear()
        self.create_default_groups()
def setdefault(self, key, default=None):
        return self._collection.setdefault(key, self._from_python(key, default))