Use guava Objects to build correct hash.