Generalized coarse solver interface in multilevel class