Reformatted code samples.