Fix the class type checking from laruence's patch