Added RTF support

Added RTF support.