Turn docstrings added in 00e2865 into doctests.