Renamed msg write_message_t variables to wm.