Convert header lookup to an algorithm call.