Added dump method to splines classes