Add support for setting variable names and writing SOL files.