Made code PEP8 compatible.