Discovery and optimization of pyrrolo[1,2-a]pyrazinones leads to novel and selective inhibitors of PIM kinases.