Remove dups from consumes and produces