Fixed documentation code snippet bug.