Added TextMessage related stuff.