Starting to add function support to the generator.