Formatted some of the sample code.