Document with_sample_pack and with_sample_pack_as