More flexible renderer generator