Re-exposed TYPE constants and marked them NIFLIB_API, making the TypeConst function obsolete. You now must use NiObject::TYPE instead of NiObject::TypeConst() again.