Add diffdoc dunfctionality