Adding form for generation.