Fix code in examples.

The examples are broken with extra parentheses. Fixed.