For example, deleting an instance pointed to aB from a component named compB in a composite C, use the following call:
C->deleteCompB(aB);