Add a 'msg' and 'memsg' command.