Generalize like to accept StringComparable