When registering packer, must specify type to pack/unpack