Added deprecation warnings