Addressed Python2.6 compatability issue.