add deprecation warnings from #751