Add support for wrapping existing stores with caching functionality