Now it works in Python3 as well.