Added just a little code for comparisons and string representation.