I want to make the ipizeAndRemoveDuplicates generic, therefore, it should not assume anything other than the input is a  Collection of URIs.