Add equals to cache store.
Merge branch '4.0'