Move autorelease pools to runtime