Implemented equals and hashCode using Guava.