Avoid mode re-enumeration.