Added Protobuf serialization