Dumbed-down the syntax to be compatible with pre-python2.6 environments.