That's fine. I think it was a remnant from an earlier version of that code. Also, you can probably get rid of the unnecessary retain/release pair at lines 506 & 525 since the block should be retaining resolvedURL in that case.