Introduce MODtoChars to avoid code duplication.