Addressing pyling warnings