CoordinateCollection#compact now returns a CoordinateCollection rather than changing the internal object.