Fixes #1051
Merge pull request #1057 from IanConnolly/doc-fix

Fixes #1051