Remove unused part of selector.