Making sure the validation message is a string before calling .replace on it.
This allows me to use observables (and computed observables) as validation messages, which makes it easier do proper localized custom messages.