Use ConstantNode in static context