Fixed docstrings and docstests.