New header logic.