Remove synchronous calls in erase.