Remove nongeneric sum and product functions