[API] Remove duplicates.