Allow using custom cache keys.