Updated cache engines to fit the new API