Doc typed list and better sparse doc.

return a sparse -> returns a sparse