Add deprecation notices.