Equals/hashcode implemented.