Fix mutation operators to work with literals and variables.