Make offset_ex(), offset2_ex() and diff_ex() available to C++ code