Change the generated code by Variable. Which will not try to init variable when var not set.