add deprecation warnings [ci skip]