Convenience method for getting a collection.