Update deprecation message to be consistent