Writing of messages. Split _internal header.