Using autorelease pools as necessary