Support for python3, works in ST3 now. Refs #5