Fix weird issues with protobuf-net reference