Deprecate old cache classes