Wrapping in autorelease pool prevents objects being released prematurely as they go out of scope but before they are saved.
Better example of deletion.