add RegistrationEvent.as