Change how getQualifiedClassName gets the class name.