Remove obsoleted C++ code (struct Val)