PEP8 cleanup. Disabled R and C pylint warnings.