Got doctests to pass.

Signed-off-by: Michael Bourke <git@elementality.com>