Simplified future code in Pipelines.scala