style(Selector): Move public API on top of the file

Closes #939