Adding multipolygon support as per #266