Allow specifying smoothing factor.