Restored the Figure1 example so that it generates correct code again.