DOC-1148: adding example code.