Normalize setCache calls.