Made changes in the client to compile with the new message style

Made changes in the client to compile with the new message style