Make PaintedSlot constructor public