Fix formatting of lists.