Todo : callback on unpack as well as unpackdelta