Added support for custom validation message replacers.