add MultiPolyline and MultiPolygon implementations