Fix inspection for classes.