Expose Function::viewCFG and Function::viewCFGOnly to bindings.