Why set the collection root here instead of directly in the template?