Prevent sources from duplicating.