Changed check for class name for the class loader