Support single-entity packing and unpacking.