Use $stderr to print deprecation warnings