Fix some errors in the deprecation warnings for new and user.
2 files changed