Selector cleanup.