Maybe change the input parameter to a `GeometryCollection`.