MAINT: more flexibility in setting parameters for fitting