Fixing missing grep declaration in SeriesFunctions.