class configuration workaround. Force the classname removing.