Is there a way to make the template render optionally if group is not supplied?