Added explicit type for SourceDict caches