Inject special-purpose handles into layout update when caching is enabled.