Replaced all char* with std::string.