added virtual destructors to Slot