Remove obsoleted C++ code (subclasses of Val, misc)