Adapt to libnpengine-new