Add code to handle groupers in views. Not working yet.