Add getCoefficients method