Implicity type conversion does not work with the ternary operator. `NanNew(NanUndefined()).As<Value>())`