Composite Transform Serialization

I am following the example for serialization of composite transforms : https://itk.org/Doxygen/html/Examples_2IO_2TransformReadWrite_8cxx-example.html

However I do get an exception when reading, that is on the line with reader->Update()

I get :

\itk\src\itk-4.13.1\modules\core\transform\include\itkCompositeTransform.hxx:867:
itk::ERROR: CompositeTransform(0000019B046340B0): Input parameter list size is not expected size. 3 instead of 0.