Separating network functionality from serializing.