Added support for tables in text format