Small fix for wrapping cache.