PEP-complianted and made logging statements more grammatical.