Simplify the reading of headers