Use `detach` instead of `delete`.