Optimized object manager handling in CacheInternal.pm.