I read this like "if I was was really clever back then I would do what now I think is clever" and my humble opinion about the ultimate solution for it really horrifies me (the class generator).
Maybe I'm not clever enough. Maybe I don't hate copy and pasting enough.