allow C++ members to get at private parts