Adapted to msgpack 0.3.0