Added fetching of original texts and history merging.