commit MsgGen (see pervious commit comment for diff)