Initial port of header parsers and tests.