Optimization of code.