The NULL !== seems unnecessary...