Dust: Refactor cache.