Add autorelease pools.