Finishing scaffolding for BlockDistMatrix.