Add MsgPack RPC.
Remove some unneeded lines.