Factorised header reading