This step scans the AST looking for class, interface, struct and enum definitions and creates corresponding type system objects (InternalClass, InternalInterface etc.), binding each type definition to an IType instance. After this step, the Entity property of each TypeDefinition node references the object in the type system that represents it.