Add method unsetTargetEntities