Add C string overloads to avoid std::string copies.