adds support for sampling from a content_type collection