This should probably document that it's possible to leak memory if you modify objects during destruction.