Performance optimization.