PEP8 for Kernel.py