documentation example.

Example in documentation for $document.