Add example to code documentation.