Refactored duplicates.