Reindent and fix brace placement.