Fix compiler warnings.
Finish implementing protobuf parser.