Adds facility to modify content prior to it being saves as a partial