Adds more explicit deprecation warning