Improve example codes.