Added the generation of the form for the submodules.