Added text message functionality.