Support Python 2.5+

(Resolves #21.)