Upgrade msgs to 0.4