changing names of unintuitive with_replacement() and replace_object()