Remove unnecessary code from set_classes_for_charts