Add c++-object wrapper (CppObject) and other minor additions.