Added a new parameter: prediction_duration.