Once everywhere that returns `-1` raises instead, this can go away.