Conform to API changes in eventloop package