Simple caching system.