This lets us easily use the same writeStructe(header) pattern to write the header for each message type.