Tweaks to SetField, SetIndex, and NewValue.