Moved state from blocks onto the stack.