Fix IOMode inconsistencies.