removed unpack() Q parameter; missing is_unpacked() function added