Make header reading/writing methods static and public