@khandelwal, `pos` is our own construction, so this should be okay. Might make sense to just add `pos` and `term` as parameters to `add_match` instead of `match`. Doesn't matter to me, though.