Provides some base functions needed by a css-select adapter so that you don't have to implement the whole thing.