Added std::string to avoid compiler warnings with gcc