Added Fit.function.