Pages don't support PDF generation right? Probably could remove this line.