Fixed errors in examples.