Work on autogeneration demo code