Rename rv to out to avoid conflict with pdb.
Add add_field method to Form; miscellaneous cleanup and testing.