New: replace-object