Support Python 2.5