put back Hunk in C-api.cpp