Improve example code.