Optimize formatting and view rendering