Improved indentation of code examples.
Added pretty printing to code examples.