Get rid of lambda globals