hide deprecations from cli/script

otherwise reports and tests will break