Updating to c++ interfaces