readded accidentally removed reference to RegistrationServiceFactory