Removed implementation-dependent reliance on arrays for string comparison.