Fix for various MsgPack errors. Closes #20