Small fixes for the smoothing class.