Re-add method to set all headers at once