Minor changes to formatting of generated text