Experimental C++ code.