Don't use new methods for py2.4