Add TransientStackValue for 2.4.x