Adapted to new libfizmo function calls.