Suppress warnings by encoding undef value

It's NP?