Optimize printing.