Playing around with generating classes on-demand