Illegal for python2 and unused import removed.