Add support for multi-alphabet mode definitions.