Changing the variable names of constant objects