Constructor added to Generator.
Grammar for functions.