Remove duplicates from module