Improve deprecation warning.