Replaces oldScheme with newScheme in-place.
If newScheme is null, then oldScheme is removed without being replaced.
null