Adding support for registering forms via code rather than through the ui form builder.