Deduplication of data extraction code