C++ interface simplified