Adds topics and ignores duplicates.