Caching of statistics.