Fix #3: Add basic Python 3 support.