Working on libnds function adaptation.