Add a sample contract code generator.