Lots of fixes to Sequence and Selector.