First pass at convering to Python 3