Added std::string versions for all fns.