Implement TComparable to unify methods