Prepare for newdata argument in survfit.