Re-formatted some code samples