serialization works with connection types!