This all seems like it should be done in the individual class' `__init__` rather than here. I wouldn't expect there to be much shared setup code.