Add text message functionality.