Improving performance of the UI.