Performance-related optimizations.