Clearly defining messages and the protocol