Uses equals for string comparison.