Minor improvements in examples