Initial commit of generator code.