Scaffolding for MatVec.