Adding partial and tagged updates.
Adding state structure.