Make generated parent class configurable