Correcting direction-dependent gains in the deconvolution of radio interferometric images | Synapse