[Engine-Nifty] Fixing API breakage with the latest Nifty version