Nitpick: I would put the sparse_output first to clearly indicate that this only true for sparse output.