Bug fix in examples.