Moved caches to their own file.