Extend the serialization process to save the type of the custom connectors along with their most common properties - such as their Background, BorderBrush and size.