Lagde prototype for protocol bufer