Assorted duplicate and exclusion routines