Made pep8 fixes for controllers.