Allow rendering result lists in templates