Refactored CompositeSpline slightly to satisfy findbugs.