Add support for text format