Add support for deciding which variables to transfer in a parallel program.