Fixed a bug in MsgSpec signature.