I'm not sure about this, needed by RawNetworkGrep and KafkaWordCount. There has to be better way.