Renamed msgobject to msg