Make cache work.