Fixed non-existant functions, pep8