Refactor to make private the public fields of the transport messages