Widget system optimizations.