Changed protobuf message type parsing.