Use Python 2.4 compatible syntax