Updated some examples to compile.