Added support for element.select.

Related #8 and #191.