def clear(self):
        super(GroupedRequirements, self).clear()
        self.create_default_groups()
def bufferedMode(self, mode = True):
        if mode is None:
            self.flush()
        self._bufferedMode = mode