All warnings generated by pyflakes addressed