Make the Donut and AutoCacheItem class interfaces more robust.