Fix up uses of component error in service.