Generalizing interfaces to Cholesky, LDL, QuasiDiagonalScale, and QuasiDiagonalSolve