Fixed some doctests.

Fixed some doctests that were causing failures in YANK.