ClassType: first check superclass name before resorting to breaking the
check.