Add a deprecation warning.
Make clear it is a deprecation warning.