Add a summary and clean up some formatting.