Change  _ShapeBase and _SurfaceBase to override the new processConstructorParameters function in Stateful.