Adds better control to how headers are set