cleanup class_map `superclass` method