Convert all references to pointers in protos.h