Fix deprecation docstring typo

Fixes some minor errors in docstrings and DeprecationWarnings.