Generating get_class_lower code [ci skip]