Got rid of the stack.locals hack.