backport ActiveSupport::Deprecation