Support passing Protobuf messages.