Add a dependency on gen.