Added support for plain text data