Tileset model: prefer integer indexes in the API.