Removes NIF references