Code refactoring.
Add example code.