Make `template` coerce `text` argument to string.