#2593: Rename ReplaceColumn method to ReplaceVariable and make it non-generic. Use new list constructor instead of extension method in the ToModifiable method.