Refactoring of the CachedList.