Add license header to EventCollectingHandler