added Selector.clear method