To add getPidsToKill() method