[Olena-patches] 467: Add a facility for virtual types packing.