Added ability to add headers