Add operator= to nif object