Would be nice to cover these as well to, e.g., allow gathering arrays of different sizes from different processes into a contiguous array at the root.