Remove unuse factory used for cache.