Rename $instance_cache to $___instance_cache.