Fix code in examples.

The examples are broken with extra parentheses. Fixed.
Merge pull request #1098 from arxpoetica/patch-1

Fix code in examples.