Add documentation for spline module.