This makes it easier to make programmatic modifications to these classes and extend them from pure Python code.