Corrected PaddlePi constructor