Implemented some more of Selector.

According to tests.