Updated message structures.
Added more wrapper functions to create message structures.