Add missing import; minor PEP8 cleanup