Impregnation of carbon electrodes