Only one of class or type depend on an instance, preferring class
For dependencies on instances prefer type when class is builtin
Update expected number of slices from containers