Improve formatting of UI specification.