Move registrations table build into RegistrationsService.