Ugly hacks to get rid of Strings in EffectMessage