Fixed mistakes in examples.