Fix invalid sample code.
Indent the code of the example.