Caching working in simple cases.