Moved things into GateProtobuf