Replaced indexed_text with plain old std::string