Custom messages uses writeMessage.