An attempt at making scala repl's class generation customizable