protobuf additions
adjusting to protobuf updates