Doing view hierarchy manipulation in layoutSubviews is somewhat risky. It can cause some subtle bugs because adding and removing subviews sometimes triggers another setNeedsLayout.

I would make these add/remove operations as part of a `setUseCellDivider:` method.  Then do the frame layout in layoutSubviews if they're present. Another alternative is to just toggle `.hidden` on them instead of adding/removing.