Fixed examples in the docstrings so doctest would pass.