Added helper classes for protobufs