(wip) Use predicate for header matching