Collect phase2 and phase3 state into a struct.