Made comparing on some classes nicer.