Comparisons added in some classes