Rename RegError to RegistrationError.