Add ViewService.detectEntities.