Don't override equals() in ClassType.

It's better we put that in isAssignableTo() and leave equals() alone.