Extract header information