Replace setTerrainProvider method with terrainProvider property.