Removing domain patterns