Added group functions to ViewContext