Finish auto-generation.

In a simple setup, auto generation works.