Add eventLoop() to public API