adding std::string support to some methods of some classes