Add a warning about deprecation