- Fixed __cmp__ method.