Structural analysis proper deals with the mastery (but not necessarily the resolution) of internal conflicts through diagnosis of ego states, decontamination, boundary work, and stabilization, so that the Adult can maintain control of the personality in stressful situations.