Change add() to copy strings.