Inserting @autoreleasepools into certain methods