Culled extraneous imports and generalized the identifiers in the generic list duplicate removal method.