Tidy up code formatting.