Simplify parsing of headers.