fixes incorrect function names in deprecation warning
Merge pull request #376 from lancehalvorsen/fix-deprecation-warning-function-names

fixes incorrect function names in deprecation warning