Refactored duplicity.