Use unchecked_get_pair() to implement get_pair()