Adding handling of (mulitple) inner boundaries of polygons.