Adding bspline class.