ReplaceValue may be redundant here.