Added support for recovering polynomials