Type-hint constraints for collections.