Use the `inreplace` method.