Change syntax to Python3.