Reformat code samples