Add a `Text -> VarType -> Variable` function that encodes text into what could then be included in a variable file.