Output deprecation message when sanitize is called.