private void RemoveAndDeallocateInstance(MySingleInstance instance)
 {
     RemoveInstance(instance);
     MySingleInstance.Deallocate(instance);
 }