Fixed missing self in PiPet class