Use weak references on cache eviction.