internal void AddComponentScope(GlobalScope component){
if (this.componentScopes == null)
this.componentScopes = new ArrayList();
this.componentScopes.Add(component);
component.thisObject = this.thisObject; //Component scopes pretend they are one and the same as their parent scope.
}