Use cache.default, TargetIdResolver is in core now.