ease class type check.