allow headers to be past in when using extensions