CorA, B, C and D belong to a protein family involved in both influx and efflux of magnesium and cobalt.