Allow message to be customized via template string