Changes role magic strings to constant values