extract_class_names is obsolete

hierarchical_class_names should be used instead. one test still fails.
related to #249