Add deprecation warnings