Updated to compile with the latest flatMap abstraction. This is turning out to be pretty slick!