Added rtf and xls support