Remove Python2.4-specific code.