Add code for "Hourglass Interfaces for C++ APIs".