Fix build failures due to 3eaa49b5

Fixes the doc strings to pass checkdoc.
Merge pull request #277 from hugoduncan/feature/fix-build-failures

Fix build failures due to 3eaa49b5