Restricted to invalidate cache for widgetcontrol. (cherry picked from commit 9e24aca)