UI optimizations.