newInstancesFromHeteroList should recover gracefully from the case that both kind and $class are missing. (cherry picked from commit 17a88352)