Documentation fixes
Added duplicates detection