Expanded documentation.
Fixed example in documentation.