Use fully qualified class for dependent scope cache and fix handling of deferred types in MetaClassCache.