A new class of drugs that block PD-1, the PD-1 inhibitors, activate the immune system to attack tumors and are therefore used with varying success to treat some types of cancer.