Adding TextMessage object to implement sending text messages.