Adjust syntax for old Python 2