Make protobuf attributes optional