Improve formatting of lists