Got rid of aggregate scructure for representing aggregate types. Chaned to using scope structure.