Preserve constants in transformations