Fix names in docstrings and DeprecationWarnings.

Update a number of docstrings and DeprecationWarnings to refer to
the correct methods or attributes.
Merge pull request #411 from jorgenschaefer/fix-deprecation-docstring-typo

Fix deprecation docstring typo