implemented removeComponent: on composites