Cleaned up formatting and trailing whitespace in examples.