Remove unnecessary dictionary creation from DictIter initializer if class_map is None.