Optimize highlighting.