Put everything in a closure to artificially preserve some scope