Add deprecation_notifier

Make this something generic.