Deprecate check_for_errors.