This can just be $req->header(%$headers). At this point, you can just remove this method.