Smart selector.