Clean up and format.