Polyline Serialization issue

I understand the XAccess class is not marked as serializable.

Because Polyline is just a struct with sets of points?