PageContext added to main template