Updated documentation with new Text structure.