match CollectionRemoveAll, added type restrictions