Generalized StringOps to CollectionOps.