Move messages into config, instead of embedding them in the html template.