update for new classgen api