Made ExtractValues use std::string.