Output deprecation message when `sanitize` is called.

cc @chancancode