Many cache improvements.