PY-17356: shortcuts added to make inspections faster