Use `NIL_P` instead of comparing with `Qnil.`