RegistrForm refactoring.