HCSVLAB-282: Only create constants if they are undefined