Updated NIF part of the wrapper