Simplified the metaprogramming for the scipy.special polynomials