Forgot poll() method in previous commit.