Refactored out instance methods. Added enable/disable PEP8 commands.