Generalizing interfaces to Cholesky routines