Inheritance is hard.
Handle stdlib versions of ElementTree before Python2.7.