Made RegistrationComponent immutable.