Updated examples to the new syntax.