Hoist section call out of loop.