Clearns up DomainForm.