doctest/docs

Fixes doctests in  package.  @mdboom