Fix code style in examples.