Made Python 2.7 happy with the code.