Changed task's function representation in the grammar.