Fix __repr__ for two Modes.