def parse(self, tree, metadata):
    self.call_count += 1
    self.called_with = metadata
    return self.called_with
def parse(self, tree, metadata):
    self.call_count += 1
    self.called_with = metadata
    return self.called_with