Fixing errors reported by PEP8