Update example to new syntax.

Quick fix in the example, fixes compiling.