This seems to break things - when global.gag is false, it won't print deprecation errors!