Make conversion from residue field work.