Make spec variable local