Add ability to partially replace values