doctest/config

Fixes doctests in  package.  @eteq