Adding support for matching the content of a collection