Remove (buggy) modify_with implementation.
Implement modify_with in terms of insert_with.