Added form generation.