Updated the summary directive to format the data nicely.