The docs state it uses the collection "prerender" but it seems to be using "pages"? database.collection('pages' ... What should it be?