Utilities to facilitate working with shapely