Support all the Java 6 classes at createSimilarCollection() and createSimilarMap()