Update incorrect return types in docstrings.