Storing state history for lag compensation.