def __init__(self, path):
        self.path = path
        self.body_labels = collections.OrderedDict()
def __init__(self):
        super(TransactionStates, self).__init__()
        self._states = defaultdict(TransactionState)