Added a method "toStdFuture"