def clear(self):
        super(GroupedRequirements, self).clear()
        self.create_default_groups()
def __init__(self):
        super(TransactionStates, self).__init__()
        self._states = defaultdict(TransactionState)