Add a deprecation warning