Use std::string instead of data_pointer