Fixed binding function with const char* return type