See below in the code in this file, I changed the for comprehension to operate over Futures.