Raw should implement MsgEncoder