I've removed this call to `flush()` because it should already be called in all modifying methods.