Fix set_formal_params not recursing