feature: add deprecation warning