Add equals to cache store.