Add poll support

Fairly self-explanatory - it was missing so I added it.