Change code supporting python 3.3.3.