Add name attribute to Slot.